using System;
using DevExpress.Xpo;

namespace RemoteImaging.Camera
{

    public class Shutter : XPObject
    {
        public Shutter()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public Shutter(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        public string DisplayName
        {
            get { return GetPropertyValue<string>("DisplayName"); }
            set { SetPropertyValue<string>("DisplayName", value); }
        }

        public string UrlString
        {
            get { return GetPropertyValue<string>("UrlString"); }
            set
            {
                SetPropertyValue<string>("UrlString", value);
            }
        }
    }

}